package com.shenglue.ssi.service;

import java.util.List;

import com.shenglue.ssi.domain.BuyBackDetail;
import com.shenglue.ssi.domain.BuyBackMain;
import com.shenglue.ssi.domain.User;

public interface BuyBackDetailService {

	/**
	 * 查询某入库退货单的 所有入库退货单细表信息
	 */
	public List<BuyBackDetail> selectAllBuyBackDetail( int buyBackId );

	/**
	 * 增加入库退货单细表记录
	 */
	public boolean saveBuyBackDetail( BuyBackDetail BuyBackDetail );

	/**
	 * 删除入库退货单细表记录
	 */
	public boolean deleteBuyBackDetail( int buyBackDetailId );

	/**
	 * 修改入库退货单细表记录
	 */
	public boolean updateBuyBackDetail( BuyBackDetail BuyBackDetail );

	/**
	 * 为修改，根据 Id 查一条 入库退货单子表记录
	 */
	public BuyBackDetail getOneBuyBackDetailForUpdate( int buyBackDetailId );
}
